package com.hljx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 手术登记表
 * </p>
 *
 * @author ${author}
 * @since 2024-07-19
 */
@Getter
@Setter
@TableName("op_record")
public class OpRecord extends SplitTableName{

    /**
     * 手术申请编号
     */
    @TableId("OPERATIONNO")
    private String operationno;

    /**
     * 手术申请顺序号
     */
    @TableField("RECORDNO")
    private BigDecimal recordno;

    /**
     * 住院号
     */
    @TableField("INPATIENT_NO")
    private String inpatientNo;

    /**
     * 病历号
     */
    @TableField("PATIENT_NO")
    private String patientNo;

    /**
     * 卡号
     */
    @TableField("CARD_NO")
    private String cardNo;

    @TableField("REG_DATE")
    private LocalDateTime regDate;

    /**
     * 1门诊  2 住院
     */
    @TableField("PASOURCE")
    private String pasource;

    /**
     * 患者姓名
     */
    @TableField("NAME")
    private String name;

    /**
     * 病人住院科室
     */
    @TableField("DEPT_CODE")
    private String deptCode;

    /**
     * 床号
     */
    @TableField("BED_NO")
    private String bedNo;

    /**
     * 性别
     */
    @TableField("SEX")
    private String sex;

    /**
     * 生日
     */
    @TableField("BIRTHDAY")
    private LocalDateTime birthday;

    /**
     * 血型
     */
    @TableField("BLOODCODE")
    private String bloodcode;

    /**
     * 手术操作编码
     */
    @TableField("OPERATIONITEM")
    private String operationitem;

    @TableField("OPERATIONKIND")
    private String operationkind;

    /**
     * 手术医生
     */
    @TableField("OPERATEDOC")
    private String operatedoc;

    /**
     * 指导医生
     */
    @TableField("GUIDEDOC")
    private String guidedoc;

    /**
     * 是否急诊
     */
    @TableField("EMERGENCY")
    private String emergency;

    @TableField("SEEDOCTYPE")
    private String seedoctype;

    /**
     * 申请做手术的时间
     */
    @TableField("PREDTIME")
    private LocalDateTime predtime;

    /**
     * 手术时长
     */
    @TableField("PREDURATION")
    private BigDecimal preduration;

    /**
     * 麻醉方式
     */
    @TableField("ANESTYPE")
    private String anestype;

    /**
     * 助手数量
     */
    @TableField("HELPERNUM")
    private BigDecimal helpernum;

    /**
     * 洗手护士
     */
    @TableField("WASHNURSE")
    private BigDecimal washnurse;

    @TableField("ACCONURSE")
    private BigDecimal acconurse;

    @TableField("PREPNURSE")
    private BigDecimal prepnurse;

    /**
     * 1 平台  2 加台  3 点台  4 急诊台
     */
    @TableField("CONSOLETYPE")
    private String consoletype;

    /**
     * 手术室编号
     */
    @TableField("EXECCODE")
    private String execcode;

    @TableField("OPEROOM")
    private String operoom;

    /**
     * 手术房间
     */
    @TableField("CONSOLE")
    private String console;

    /**
     * 申请人
     */
    @TableField("APPLYDOC")
    private String applydoc;

    /**
     * 申请时间
     */
    @TableField("APPLYTIME")
    private LocalDateTime applytime;

    @TableField("APPROVEDOC")
    private String approvedoc;

    /**
     * 总费用
     */
    @TableField("FEE")
    private BigDecimal fee;

    /**
     * 1 有菌 2无菌
     */
    @TableField("DEGREE")
    private String degree;

    /**
     * 1有 2 无
     */
    @TableField("YNGERM")
    private String yngerm;

    @TableField("INCISIONTYPE")
    private String incisiontype;

    /**
     * 1幕上 2 幕下
     */
    @TableField("SCREENUPE")
    private String screenupe;

    /**
     * 手术时间
     */
    @TableField("OPERATIONTIME")
    private LocalDateTime operationtime;

    /**
     * 申请单接收时间
     */
    @TableField("RECEPTTIME")
    private LocalDateTime recepttime;

    @TableField("ILLUSTRATION")
    private String illustration;

    /**
     * 输血类型
     */
    @TableField("BLOODKIND")
    private String bloodkind;

    /**
     * 输血数量
     */
    @TableField("BLOODNUM")
    private BigDecimal bloodnum;

    /**
     * 输血单位
     */
    @TableField("BLOODUNIT")
    private String bloodunit;

    /**
     * 进手术室时间
     */
    @TableField("ENTERTIME")
    private LocalDateTime entertime;

    /**
     * 出手术室时间
     */
    @TableField("OUTTIME")
    private LocalDateTime outtime;

    /**
     * 实际手术时长
     */
    @TableField("REALDUATION")
    private BigDecimal realduation;

    /**
     * 1清醒   2 不清醒
     */
    @TableField("FOREYNSOBER")
    private String foreynsober;

    /**
     * 1清醒 2不清醒
     */
    @TableField("STEPYNSOBER")
    private String stepynsober;

    @TableField("FOREPRESS")
    private String forepress;

    @TableField("STEPPRESS")
    private String steppress;

    @TableField("FOREPULSE")
    private BigDecimal forepulse;

    @TableField("STEPPULSE")
    private BigDecimal steppulse;

    /**
     * 1有 2 无
     */
    @TableField("SCAR_NUM")
    private BigDecimal scarNum;

    @TableField("TRANSFUSION_QTY")
    private Integer transfusionQty;

    @TableField("SAMPLE_QTY")
    private BigDecimal sampleQty;

    /**
     * 1有 2 无
     */
    @TableField("GUIDTUBE_NUM")
    private Short guidtubeNum;

    /**
     * 记录人编号
     */
    @TableField("RECORDER")
    private String recorder;

    /**
     * 术前准备情况 1 好
     */
    @TableField("BEFORE_READY")
    private String beforeReady;

    /**
     * 器材科对 1 完成      2 未完成
     */
    @TableField("TOOL_EXAM")
    private String toolExam;

    @TableField("SEPERATE")
    private String seperate;

    @TableField("DANGER")
    private String danger;

    @TableField("LET_BLOOD")
    private Short letBlood;

    @TableField("MAIN_LINE")
    private Short mainLine;

    @TableField("MUSCLE_LINE")
    private Short muscleLine;

    @TableField("TRANSFUSION")
    private Short transfusion;

    @TableField("TRANSOXYEN")
    private Short transoxyen;

    @TableField("STALE")
    private Short stale;

    @TableField("QUESTION")
    private String question;

    @TableField("I_INFECTION")
    private String iInfection;

    @TableField("DIE")
    private String die;

    @TableField("SPECIAL_COMMENT")
    private String specialComment;

    /**
     * 记录时间
     */
    @TableField("RECORDTIME")
    private LocalDateTime recordtime;

    /**
     * 是否有效
     */
    @TableField("YNVALID")
    private String ynvalid;

    /**
     * 是否记账
     */
    @TableField("YNFEE")
    private String ynfee;

    /**
     * 麻醉方式
     */
    @TableField("NARC_KIND")
    private String narcKind;

    /**
     * 体重
     */
    @TableField("WEIGHT")
    private BigDecimal weight;

    /**
     * 麻醉时间
     */
    @TableField("ANAE_DATE")
    private LocalDateTime anaeDate;

    /**
     * 手术收费结束标记  '0'收费未结束   '1'收费已结束
     */
    @TableField("YNFEE_FINISHED")
    private String ynfeeFinished;

    @TableField("OPE_DEPT_CODE")
    private String opeDeptCode;

    /**
     * 麻醉收费结束标记 '0'收费未结束   '1'收费已结束
     */
    @TableField("MZFEE_FINISHED")
    private String mzfeeFinished;

    /**
     * 是否有病理科标本 '0'没有  '1'有
     */
    @TableField("IF_BL")
    private String ifBl;
}
